package top.deepdesigner.service;

import top.deepdesigner.pojo.DtsArticle;

import java.util.List;

/**
 * Start up <br/>
 * Created with IntelliJ IDEA. <br/>
 * Project Name: shop_manage <br/>
 * Author: duanruiqing <br/>
 * DateTime: 2022/9/24 星期六 15:38:31 <br/>
 */
public interface DtsArticleService {
  Long getArticleCount();

  List<DtsArticle> getArticleList(Integer page, Integer limit, String sort, String order, String title);

  DtsArticle createArticle(DtsArticle article);

  DtsArticle updateArticle(DtsArticle article);

  void deleteArticle(DtsArticle article);

  DtsArticle getArticleById(Integer id);
}
